package com.itnoob.strategy.impl;


import com.itnoob.strategy.PayStrategy;
import org.springframework.stereotype.Service;

import java.math.BigDecimal;

/**
 * @author zhoujun
 * @date 2024/12/5 22:30
 */
@Service("weChatPayStrategyImpl")
public class WeChatPayStrategyImpl implements PayStrategy {
    @Override
    public String pay(BigDecimal amount) {
        return "微信支付实现支付" + amount;
    }

    @Override
    public String getName() {
        return "微信支付";
    }
}
